Extra lines in 2nd before 11 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ11; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 11:18)
/* You may incorporate this sample code into your applications without
** restriction, though the sample code has been provided "AS IS" and the
** responsibility for its operation is 100% yours. However, what you are
** not permitted to do is to redistribute the source as "DSC Sample Code"
** after having made changes. If you're going to re-distribute the source,
** we require that you make it clear in the source that the code was
** descended from Apple Sample Code, but that you've made changes. */
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 71:72; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 79:80)
RgnHandle rgn;
short arcs, arcl, arcs2, arcl2, diff, i, angle;
RgnHandle rgn, oldClip, newClip;
short arcs, arcl, arcs2, arcl2, diff, i, angle, h, w;
Extra lines in 2nd before 77 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ77; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 85)
RGBColor rgb, rgb2;
Extra lines in 2nd before 83 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ83; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 92)
TRectObj(hndl, message, data);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 95:97; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 105:106)
case GETBBOXMESSAGE:
case SECTBBOXMESSAGE:
case TARGETMESSAGE:
case GETOBJRECTMESSAGE:
case SECTOBJRECTMESSAGE:
Extra lines in 2nd before 101 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ101; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 110)
case COMPAREMESSAGE:
Extra lines in 2nd before 104 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ104; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 114:117)
case GETBBOXMESSAGE:
return(TLineObj(hndl, message, data));
break;
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 112:113; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 126:127)
rct = mDerefPie(hndl)->arc;
where = click->localEvent.where;
rct = mDerefPie(hndl)->arc;
where = click->localEvent.where;
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 152; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 166)
case SETBBOXMESSAGE:
case SETOBJRECTMESSAGE:
Extra lines in 2nd before 159 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ159; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 173:175)
h = mDerefCommon(hndl)->penHeight;
w = mDerefCommon(hndl)->penWidth;
PenSize(w, h);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 164:171; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 181:209)
if (newClip = (RgnHandle)TOvalObj(hndl, GETRGNMESSAGE, 0))
SetClip(newClip);
if (gQDVersion)
GetForeColor(&rgb);
ForeColor(whiteColor);
if (gQDVersion) {
rgb2 = mDerefLine(hndl)->contentColor;
RGBForeColor(&rgb2);
}
PaintArc(&rct, arcs, arcl);
ForeColor(blackColor);
if (gQDVersion) {
rgb2 = mDerefLine(hndl)->borderColor;
RGBForeColor(&rgb2);
}
FrameArc(&rct, arcs, arcl);
pt = mDerefPie(hndl)->arcBegin;
MoveTo(pt.h - (w / 2), pt.v - (w / 2));
pt = mDerefPie(hndl)->center;
LineTo(pt.h - (w / 2), pt.v - (w / 2));
pt = mDerefPie(hndl)->arcEnd;
LineTo(pt.h - (w / 2), pt.v - (w / 2));
if (gQDVersion)
RGBForeColor(&rgb);
SetClip(oldClip);
DisposeRgn(oldClip);
if (newClip)
DisposeRgn(newClip);
Extra lines in 1st before 230 in 2nd (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 192; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line Δ230)
PenNormal();
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line 198:202; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 235:239)
MoveTo(pt.h, pt.v);
pt = mDerefPie(hndl)->center;
LineTo(pt.h, pt.v);
pt = mDerefPie(hndl)->arcEnd;
LineTo(pt.h, pt.v);
MoveTo(pt.h - (w / 2), pt.v - (w / 2));
pt = mDerefPie(hndl)->center;
LineTo(pt.h - (w / 2), pt.v - (w / 2));
pt = mDerefPie(hndl)->arcEnd;
LineTo(pt.h - (w / 2), pt.v - (w / 2));
Extra lines in 2nd before 206 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TPieObj.c"; Line Δ206; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TPieObj.c"; Line 243)